package test.javassist;

import com.k8.common.aop.ProxyFactory;
import lombok.extern.slf4j.Slf4j;

import java.lang.reflect.Method;

/**
 * @Author: k8
 * @CreateTime: 2025-03-30
 * @Version: 1.0
 */
@Slf4j
public class BeanInterceptor implements ProxyFactory.InterfaceProxyMethodInterceptor {

    @Override
    public Object process(Object proxy, Method method, Object[] args) {
        log.debug("testSuccess");
        return "6666";
    }
}
